package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface ContentService {
    List<TbContent> getContentAll();

    int addContent(TbContent tbContent);

    TbContent updateContentEcho(Long id);

    int updateContent(TbContent tbContent);

    int deleteContent(Long id);

    int updateOnOperationContent(Long[] ids);

    int updateCloseOperationContent(Long[] ids);

    List<TbContent> selectIndexPageAdvertisement(Integer pageSize, Long categoryId);
}
